﻿@model IEnumerable<Entity.Admin.ParameterRule>
@{
    ViewBag.Title = "Index";
    Layout = "~/Areas/Admin/Views/Shared/_LayoutCenter.cshtml";
}
@section viewAction{
    @Html.Partial("_Button_Create")
    @Html.Partial("_Button_Search")
}
<table class="default">
    <tr>
        <th>
            规则路径
        </th>
        <th>
            规则权重
        </th>
        <th>
            启用
        </th>
        <th>
            备注
        </th>
        <th>
            操作
        </th>
    </tr>
    @foreach (var item in Model)
    {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.RulePath)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.RuleLevel)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Enable)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Memo)
            </td>
            <td>
                @Html.Partial("_Ajax_Link_Edit", item)
                @Html.Partial("_Ajax_Link_Details", item)
                @Html.Partial("_Ajax_Link_Delete", item)
            </td>
        </tr>
    }
</table>
